#
# Copyright (c) NVIDIA CORPORATION & AFFILIATES, 2001-2018. ALL RIGHTS RESERVED.
#
# See file LICENSE for terms.
#

if HAVE_CNCL

module_LTLIBRARIES      = libucm_cncl.la
libucm_cncl_la_CPPFLAGS = $(BASE_CPPFLAGS) $(CNCL_CPPFLAGS)
libucm_cncl_la_CFLAGS   = $(BASE_CFLAGS) $(CNCL_CFLAGS)
libucm_cncl_la_LIBADD   = ../libucm.la $(CNCL_LIBS)
libucm_cncl_la_LDFLAGS  = $(UCM_MODULE_LDFLAGS) \
                          $(patsubst %, -Xlinker %, $(CNCL_LDFLAGS)) \
                          -version-info $(SOVERSION)

noinst_HEADERS = \
	cnclmem.h

libucm_cncl_la_SOURCES = \
	cnclmem.c

include $(top_srcdir)/config/module.am

endif
